package com.persondemo.videoappliction.utils;

/**
 * Created by Administrator on 2018/4/27.
 */

public class FalseClickListener02 {
    public static final int MIN_CLICK_DELAY_TIME = 8000;
    private static long lastClickTime;
    private static int lastButtonId = -1;
    public static boolean isFastDoubleClick() {
        long time = System.currentTimeMillis();
        long timeD = time - lastClickTime;
        if (0 < timeD && timeD < MIN_CLICK_DELAY_TIME) {
            return true;
        }
        lastClickTime = time;
        return false;
    }
}
